package commands;

import model.Engine;

/**
 * Commande destinee a battre le rythme du metronome.
 */
public class HorlogeToEngineAlgorithmCommand implements Command {

	private Engine engine;
	
	public HorlogeToEngineAlgorithmCommand(Engine engine) {
		this.engine = engine;
	}
	
	public void execute() {
		engine.rythmeAlgorithm();
	}

}
